Skip to content

Support throwing UnwindThrowable in created LibFunction functions#97

Closed
hugeblank wants to merge 1 commit intocc-tweaked:masterfrom
moongardenmods:unwind-libfunction
Closed

Support throwing UnwindThrowable in created LibFunction functions#97
hugeblank wants to merge 1 commit intocc-tweaked:masterfrom
moongardenmods:unwind-libfunction

Conversation

@hugeblank
Copy link
Copy Markdown
Member

Correct me if I'm wrong but I don't think there should be any undesirable effects from doing this? It seemed to me like the LibFunction.create parameters were just overlooked when UnwindThrowable was implemented.

@SquidDev
Copy link
Copy Markdown
Member

There's no way to resume these functions, and so they cannot unwind. You need to use ResumableVarArgFunction if you want to unwind.

@SquidDev SquidDev closed this Feb 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants